﻿<%@ Page Language="C#" MasterPageFile="Site.master" AutoEventWireup="true" CodeBehind="category.aspx.cs"
    Inherits="GeniusAdminWebApplication.category" %>

<asp:Content ID="script" ContentPlaceHolderID="cp_script" runat="server">
    <script type="text/javascript">
        $(function () {
            initMainNav(2);
        }); 
    </script>
</asp:Content>
<asp:Content ID="sideNav" ContentPlaceHolderID="cp_sideNav" runat="server">
    <ul class="sideNav">
        <li><a href="resourceList.aspx?type=all">资源列表</a></li>
        <li><a href="resourceList.aspx?type=unaudited">待审核资源</a></li>
        <li><a href="resourceList.aspx?type=hot">热门资源</a></li>
        <li><a href="category.aspx" class="active">分类管理</a></li>
    </ul>
</asp:Content>
<asp:Content ID="main" ContentPlaceHolderID="cp_main" runat="server">
    <h2>
        <a href="#">资源管理</a> &raquo; <a href="#" class="active">分类列表</a></h2>
    <br>
    <br>
    <br>
    <br>
    <h3>
        添加分类</h3>
    <fieldset>
        <p>
            显示序号：<input id="categoryOrder" name="categoryOrder" type="text" />
            *（首页显示顺序）</p>
        <p>
            英文名称：<input id="categoryName" name="categoryName" type="text" />
            *</p>
        <p>
            中文名称：<input id="chineseName" name="chineseName" type="text" />
            *</p>
        <p>
            <input type="button" value="确定添加" onclick="addCategory();" /></p>
    </fieldset>
    <h3>
        分类列表</h3>
    <fieldset>
        <div id="categoryList">
            <asp:PlaceHolder ID="ph_category" runat="server"></asp:PlaceHolder>
            <!--<div class="category_item">
                <span class="categoryOrder">1</span> 
                <span class="categoryName">technology</span>
                <span class="chineseName">技术</span>
                <span class="catAction"><input type="button" value="修改名称"/></span>
                <span class="catAction"><input type="button" value="调整顺序"/></span>
                <span class="catAction"><input type="button" value="删除"/></span>
            </div>-->
        </div>
    </fieldset>
</asp:Content>
